package com.itlaobing.spring.ioc.instantiating;

import java.util.logging.Logger;

public class Bus {

    private Logger logger = Logger.getLogger(this.getClass().getName());

    private String brand ; // 表示"铭牌"的字段

    public Bus() {
        super();
        logger.info("Bus()");
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
       logger.info("setBrand(String) ");
        this.brand = brand;
    }

}
